using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrieveFormXmlResponse : OrganizationResponse
	{
		public string FormXml
		{
			get
			{
				if (base.Results.Contains("FormXml"))
				{
					return (string)base.Results["FormXml"];
				}
				return null;
			}
		}
		public int CustomizationLevel
		{
			get
			{
				if (base.Results.Contains("CustomizationLevel"))
				{
					return (int)base.Results["CustomizationLevel"];
				}
				return 0;
			}
		}
		public int ComponentState
		{
			get
			{
				if (base.Results.Contains("ComponentState"))
				{
					return (int)base.Results["ComponentState"];
				}
				return 0;
			}
		}
		public Guid SolutionId
		{
			get
			{
				if (base.Results.Contains("SolutionId"))
				{
					return (Guid)base.Results["SolutionId"];
				}
				return default(Guid);
			}
		}
	}
}
